package com.ccys.common.third.sms;

import com.ccys.common.enums.CodeEnum;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

import static com.ccys.common.enums.CodeEnum.SUCCESSFUL;


   /**
    * @description 发送短信入参
    * @date     2024/1/30
    * @author   cloud fly
    */
@Data
@SuppressWarnings("unchecked")
public class SmsDto  {
       /**
        * 电话
        */
   private  String phone;
       /**
        * 内容
        */
   private String content;
       /**
        * 区号
        */
   private String dial;
       /**
        * 短信提供商类型 (nexmo,dome) 默认 nexmo
        */
   private String type;

   public SmsDto() {

   }

   public SmsDto(String type,String dial,String phone, String content) {
       this.phone = phone;
       this.content = content;
       this.dial = dial;
       this.type = type;
   }
}
